package dk.flashnotes.fff {
	import flash.events.Event;
	
	/**
	 * @author Josef Kj�rgaard
	 */
	public class FFFBaseEvent extends Event {
		
		/**
		 * Dispatched when the Tree has been created.
		 * After this event you can call the method 'startTreeControl' on FFFBase to initiate the tree system. 
		 */
		public static const etTREE_CREATED : String = "treeCreated";
		
		/**
		 * Dispatched when the main data is loaded. Only when using the 'loadAndInit' method for initiation.
		 */
		public static const etDATA_LOADED : String="dataLoaded";
		
		/**
		 * Dispatched when the GA module has been loaded and is ready.
		 */
		public static var GOOGLE_ANALYTICS_BRIDGE_READY : String="googleAnalyticsBridgeReady";

		public function FFFBaseEvent(type : String, bubbles : Boolean = false, cancelable : Boolean = false) {
			super(type, bubbles, cancelable);
		}
		
		override public function clone() : Event {
			return new FFFBaseEvent(type, bubbles, cancelable);
		}
	}
}
